package com.firetornado.android.gowallajava;

import com.ginsberg.gowalla.Gowalla;
import com.ginsberg.gowalla.auth.AnonymousAuthentication;
import com.ginsberg.gowalla.auth.BasicAuthentication;

import android.app.Activity;

/**
 * Default place for dumping Authentication. Use your own API key as appropriate.
 * 
 * @author Ryan Crutchfield - rc6750@gmail.com
 * http://gowalla.com/users/rc6750
 *
 */

public class GowallaJavaAuth extends  Activity {
	
	//Deprecated Gowalla-Java 1.0, 1.1, and 1.1.1 Auth methods
	//public static Gowalla gowalla = new Gowalla("GowallaJavaAndroid", "YOURAPIKEY");
	//public static Gowalla gowallaBasicAuth = new Gowalla("GowallaJavaAndroid", "YOURAPIKEY", new BasicAuthentication("YOURUSERNAME", "YOURPASSWORD"));
	
	//Gowalla-Java 1.5 Auth methods..
	public static Gowalla gowalla = new Gowalla("GowallaJavaAndroid", new AnonymousAuthentication());
	public static Gowalla gowallaBasicAuth = new Gowalla("GowallaJavaAndroid", new BasicAuthentication("YOURUSERNAME", "YOURPASSWORD"));
	//OAuth2 coming soon...
}